package com.java01.lang.exception;

public class DataException extends Exception {

	private static final long serialVersionUID = 1L;
	private Object data;

	public DataException() {
	}

	public DataException(String message) {
		super(message);
	}
	
	public DataException(String message, Object data) {
		super(message);
		this.setData(data);
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
